/* ========================================================================= */
/* ------------------------------------------------------------------------- */
/*!
  \file			plgin_sample.cc
  \date			June 2011
  \author		TNick

  \brief		Contains the implementation for plgin_sample class


 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @n
 Please read ReadMe.txt and Licence.txt in root folder @n
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @n

*/
/* ------------------------------------------------------------------------- */
/* ========================================================================= */
//
//
//
//
/*  INCLUDES    ------------------------------------------------------------ */

#include	"plgin_sample.h"
#include	<QtPlugin>
#include	<QDebug>

#include	<base/CC_Cmd.h>

/*  INCLUDES    ============================================================ */
//
//
//
//
/*  CLASS    --------------------------------------------------------------- */

CC_Cmd		cmd_Ary[] = {
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_first"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_2"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_3"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_4"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_5"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_6"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_7"),NULL, NULL, NULL, NULL),
		CC_Cmd(CC_Cmd::TY_COMMAND, QString("name_of_8"),NULL, NULL, NULL, NULL)
};


/* ------------------------------------------------------------------------- */
bool			plgin_sample::init				(void)
{
	qDebug() << "WWWWWWWWOOOOOHHHOOO";

	return true;
}
/* ========================================================================= */

/* ------------------------------------------------------------------------- */
void			plgin_sample::end				(void)
{
	qDebug() << "ENDENDENDENDENDENDENDENDENDEND";

}
/* ========================================================================= */

/* ------------------------------------------------------------------------- */
unsigned		plgin_sample::countCmd			(void)
{
	int i = sizeof(cmd_Ary) / sizeof(CC_Cmd);
	return i;
}
/* ========================================================================= */

/* ------------------------------------------------------------------------- */
CC_Cmd*			plgin_sample::arrayCmd			(void)
{
	return &cmd_Ary[0];
}
/* ========================================================================= */

Q_EXPORT_PLUGIN2(plugin_sample, plgin_sample)


/*  CLASS    =============================================================== */
//
//
//
//
/* ------------------------------------------------------------------------- */
/* ========================================================================= */

